home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / graphics / gnuplot / win / wcommon.h < prev    next >
C/C++ Source or Header  |  1993-09-15  |  2KB  |  79 lines

  1. /*
  2.  * $Id: wcommon.h%v 3.50 1993/07/09 05:35:24 woo Exp $
  3.  */
  4.  
  5. /* GNUPLOT - wcommon.h */
  6. /*
  7.  * Copyright (C) 1992   Maurice Castro, Russell Lang
  8.  *
  9.  * Permission to use, copy, and distribute this software and its
  10.  * documentation for any purpose with or without fee is hereby granted, 
  11.  * provided that the above copyright notice appear in all copies and 
  12.  * that both that copyright notice and this permission notice appear 
  13.  * in supporting documentation.
  14.  *
  15.  * Permission to modify the software is granted, but not the right to
  16.  * distribute the modified code.  Modifications are to be distributed 
  17.  * as patches to released version.
  18.  *  
  19.  * This software is provided "as is" without express or implied warranty.
  20.  * 
  21.  *
  22.  * AUTHORS
  23.  * 
  24.  *   Maurice Castro
  25.  *   Russell Lang
  26.  * 
  27.  * Send your comments or suggestions to 
  28.  *  info-gnuplot@dartmouth.edu.
  29.  * This is a mailing list; to join it send a note to 
  30.  *  info-gnuplot-request@dartmouth.edu.  
  31.  * Send bug reports to
  32.  *  bug-gnuplot@dartmouth.edu.
  33.  */
  34.  
  35. #if WINVER >= 0x030a
  36. #include <shellapi.h>
  37. #endif
  38. /* this file contains items that are internal to wgnuplot.dll */
  39.  
  40. /* wgnuplib.c */
  41. extern HINSTANCE hdllInstance;
  42. extern LPSTR szParentClass;
  43. extern LPSTR szTextClass;
  44. extern LPSTR szPauseClass;
  45. extern LPSTR szGraphClass;
  46. extern LPSTR szAboutClass;
  47.  
  48. void NEAR * LocalAllocPtr(UINT flags, UINT size);
  49. void LocalFreePtr(void NEAR *ptr);
  50. LPSTR GetInt(LPSTR str, LPINT pval);
  51.  
  52. /* wtext.c */
  53. void UpdateText(LPTW, int);
  54. void CreateTextClass(LPTW lptw);
  55. void NewLine(LPTW);
  56. void TextPutStr(LPTW lptw, LPSTR str);
  57. void WriteTextIni(LPTW lptw);
  58. void ReadTextIni(LPTW lptw);
  59. #if WINVER >= 0x030a
  60. void DragFunc(LPTW lptw, HDROP hdrop);
  61. #endif
  62.  
  63. /* wmenu.c - Menu */
  64. void SendMacro(LPTW lptw, UINT m);
  65. void LoadMacros(LPTW lptw);
  66. void CloseMacros(LPTW lptw);
  67.  
  68. /* wprinter.c - Printer setup and dump */
  69. BOOL PrintSize(HDC printer, HWND hwnd, LPRECT lprect);
  70. void PrintRegister(LPPRINT lpr);
  71. void PrintUnregister(LPPRINT lpr);
  72. #if WINVER >= 0x030a
  73. BOOL CALLBACK _export PrintAbortProc(HDC hdcPrn, int code);
  74. BOOL CALLBACK _export PrintDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
  75. #endif
  76.  
  77. /* wgraph.c */
  78.  
  79.